package cn.xutongxue.gtms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 学生-课题选择映射表
 * @TableName select_user_thesis_map
 */
@TableName(value ="select_user_thesis_map")
@Data
public class SelectUserThesis implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 论文ID
     */
    private Long thesisId;

    /**
     * 审核状态 0-同意 1-拒绝
     */
    @TableField(value = "`state`")
    private Integer state;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}